package com.changanw.demo;

import com.changanw.demo.config.JavaConfig;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @description:
 * @author: changanw
 * @createTime:2021/12/14 12:24
 */
public class UserDemo2 {
  public static void main(String[] args) {
    AnnotationConfigApplicationContext ctx = new AnnotationConfigApplicationContext(JavaConfig.class);
    UserService2 userService2 = ctx.getBean(UserService2.class);
    userService2.transfer4();

  }
}
